package com.vue.admin.service.common.mybatis.mapper;

import tk.mybatis.mapper.annotation.RegisterMapper;
import tk.mybatis.mapper.common.BaseMapper;
import tk.mybatis.mapper.common.ExampleMapper;
import tk.mybatis.mapper.common.Marker;

/**
 * @program: tk-robot-service
 * @description: 封装基础mapper
 * @author: zhangyangyang
 * @create: 2020-01-07 10:06
 **/
@RegisterMapper
public interface BaseDefMapper<T,E> extends
        BaseMapper<T>,
        ExampleMapper<T>,
        //重写插入增加批量数据插入处理
        BaseDefInsertListMapper<T>,
        //重写更新增加批量更新数据处理
        BaseDefUpdateListMapper<T>,
        //重写批量物理删除
        BaseDefDeleteListMapper<T,E>,
        //分页方法
        BaseDefSelectListMapper<T>,
        Marker {
}
